#pragma once

#include "Role.h"
#include <map>

namespace BAA
{

	class Role_Enemy:public Role
	{
	public:
		Role_Enemy():Role("Enemy")
		{

		}

		~Role_Enemy()
		{

		}

		virtual void Create();

		void AddInterestRole(Role* role)
		{
			mInterestRoles[role] = role;
		}

		bool InterestRoleContains(Role* role)
		{
			Role * resultRole = mInterestRoles[role];
			if(resultRole == NULL)
			{
				return false;
			}
			else
			{
				return true;
			}
		}

		// list of who we should protect, base it on roles.
		std::map<Role*, Role*> mInterestRoles;


	};// end class
}// end namespace
